<?php
/**
 * Default Template for Booking View
 */
defined('_JEXEC') or die('Restricted access');
$document = & JFactory::getDocument();
$document->addStyleSheet(JURI::base() . 'components/com_roombooking/assets/css/table.css');
?>
<div class="componentheading"><?php echo JText::_('STATISTICS'); ?></div>
<img src="<?php echo JURI::base() ?>components/com_roombooking/views/statistics/tmpl/graph.php?_jpg_csimd=1&val=<?php echo $this->val;?>&mon=<?php echo $this->mon;?>" alt="graph" />
<?php
for ($i = 0, $n = count($this->items); $i < $n; $i++) {
    $row = & $this->items[$i];
    ?>
<div><?php echo substr($row->end, 5, 2);?></div>
<?php
}
?>